from django.contrib import admin

from apps.message_form.models import Message


class SelectAdmin(admin.ModelAdmin):
    list_display = ['name', 'type', 'value', 'province',]
    search_fields = ['name', 'type', 'city', 'province']
    list_filter = ['type', 'province','city']


admin.site.register(Message, SelectAdmin)